<div class="am-cf am-padding">
    <div class="am-fl am-cf">
        <strong class="am-text-primary am-text-lg">首页</strong> /
        <small>猎宝管理</small>
    </div>
</div>

<div class="am-padding">
    <!-- <a class="am-btn am-btn-default am-btn-xs am-text-secondary" href="{:U('newsAdd')}">新增资讯</a> -->
</div>

<div class="am-g">
    <div class="am-u-sm-12">
        <table class="am-table am-table-bd am-table-striped admin-content-table">
            <thead>
                <tr>
                    <th>ID</th>
                    <th>宝石种类</th>
                    <th>预算期间</th>
                    <th style="min-width: 150px;">姓名</th>
                    <th style="min-width: 150px;">电话</th>
                    <th style="min-width: 150px;">创建时间</th>
                    <th style="min-width: 140px;">操作</th>
                </tr>
            </thead>
            <tbody>
                <foreach name="list" item="o">
                    <tr>
                        <td>{$o.id}</td>
                        <td>{$o.type}</td>
                        <td>{$o.price}</td>
                        <td>{$o.uname}</td>
                        <td>{$o.phone}</td>
                        <td>{$o.createtime}</td>
                        <td>
                            <!-- <a target="_blank" href="{:U('Home/index/journalDetial', 'id='.$o['id'])}" class="am-btn am-btn-default am-btn-xs am-text-secondary">查看</a> -->
                            <!-- <a href="{:U('newsUpdate', 'id='.$o['id'])}" class="am-btn am-btn-default am-btn-xs am-text-secondary">修改</a> -->
                            <a onclick="if(!window.confirm('确定要删除吗?')) { return false;}" href="{:U('newsDelete', 'id='.$o['id'])}" class="am-btn am-btn-default am-btn-xs am-text-secondary">删除</a>
                        </td>
                    </tr>
                </foreach>
            </tbody>
        </table>
    </div>
</div>